using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using ToolsLayer;

namespace Webcar
{
    public partial class Content : PageBase
    {
        private string _url = "";
        public string RedirectUrl
        {
            get
            {
                return this._url;
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (this.IsPostBack)
                return;
            this._url = this.GetRedirectUrl(Request.QueryString["type"]);
            string query = Request.QueryString["query"];
            if (string.IsNullOrEmpty(query))
            {
                this._url = GlobalUrl.AddQueryCondition(this._url,"del","F");
            }
            else
            {
                this._url = this._url+"?"+HttpUtility.UrlDecode(query);
            }
        }
    }
}
